func go/types.representableConst

5 uses

	go/types (current package)
		const.go#L66: func representableConst(x constant.Value, check *Checker, typ *Basic, rounded *constant.Value) bool {
		const.go#L257: 	if !representableConst(x.val, check, typ, &v) {
		conversions.go#L27: 		case representableConst(x.val, check, t, val):
		index.go#L403: 		if !representableConst(x.val, check, Typ[Int], &x.val) {
		typexpr.go#L536: 			if representableConst(val, check, Typ[Int], nil) {